<!--
 * @Author: 李明明
 * @Date: 2022-04-29 15:25:27
 * @LastEditTime: 2022-05-07 17:00:55
 * @LastEditors: 李明明
 * @Description: 
 * @FilePath: /官网pc端/web/html/header/s-header.htm
 * 代码版权方：'政府采购信息网'
-->
<header id="s-header">
  <div id="header-box">
      <div id="logo-wrap">
          <a href="/web/html/home/index-channel.html">
              <img src="/web/img/logo.png" alt="政府采购信息网">
          </a>
      </div>
      <div class="go_index">
        <a href="https://www.caigou2003.com" target="_blank">政府采购信息网</a>
        <span>旗下网站</span>
      </div>
      <div id="header-search-wrap">
          <div id="header-search-box">
              <div class="input-wrap">
                  <input type="text" placeholder="搜咨询/项目">
                  <i class="icon-search iconfont"></i> <!--//20201119-->
              </div>
          </div>
      </div>
      <div id="header-btn">
          <a class="header-right login" href="/web/html/home/login.html?goBack=1">登录</a>
          <a class="header-right active" href="/web/html/home/my-collection.html" target="_blank">已登录</a>
          <!--            <a class="header-right contribution" href="javascript:">投稿</a>-->
      </div>

  </div>
</header>
<script>
  $(function () {
  //20201119-------------start
      //跳转搜索页面-回车触发
      $("#header-search-box input").keypress(function (even) {
          if (even.which == 13) {
              window.open('/web/html/list/search-result-list.html?inputSearch='+$('#header-search-box input').val());
          }
      });
      //跳转搜索页面-点击搜索图标触发
      $('#header-search-box .input-wrap i').click(function () {
        console.log($('#header-search-box input').val());
        window.open('/web/html/list/search-result-list.html?inputSearch='+$('#header-search-box input').val());
      });
      //20201119-------------end
  })
</script>
<script src="/web/js/sso/sso-login.js"></script>